<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Document</title>
    <style type="text/css">
        *{margin:0;padding:0;}
        .wrap {width: 1000px; margin: 20px auto}
        .videoWrap {position:relative;}
        .panel {position:absolute; width: 320px; height:60px; bottom:0; background: rgba(0,0,0,.5); color:#fff; }
    </style>
    <!-- <script src="html5media.min.js"></script> -->
</head>
<body>
<div class="wrap">
  <audio controls>
      <source src="../../assets/myAudio.mp3" type="audio/mpeg">
      <source src="../../assets/myAudio.ogg" type="audio/ogg">
      <source src="../../assets/myAudio.wav" type="audio/wav">
      <!-- <embed src="../../assets/myAudio.mp3" hidden="true"  autostart=true /> -->
        哥，浏览器升级下
  </audio>
  <br>
<!--  <video poster="poster.jpg" width="320" height="" controls>
    <source src="../../assets/myVideo.mp4" type="video/mp4">
    <source src="../../assets/myVideo.ogv" type="video/ogg">
    <source src="../../assets/myVideo.webm" type="video/webm">
    <object width="" height="" type="application/x-shockwave-flash" data="../../assets/myVideo.swf">
        <param name="movie" value="../../assets/myVideo.swf" />
        <param name="flashvars" value="autostart=true&amp;file=../../assets/myVideo.swf" />
    </object>
    当前浏览器不支持 video直接播放，点击这里下载视频： <a href="../../assets/myVideo.mp4">下载视频</a>
  </video> -->
  <!-- <div class="videoWrap">
    <video poster="poster.jpg" src="../../assets/myVideo.mp4" width="320" preload id="video" autoplay controls></video>
    <div class="panel"><span id="start">播控</span>   <span id="voice">静音</span></div>
  </div> -->
</div>
<script type="text/javascript">

/* start.addEventListener('click', function() {
  videoInit();
});
voice.addEventListener('click', function() {
  if (video.isMute) {
    video.isMute = false;
    video.volume = 1;
  } else {
    video.isMute = true;
    video.volume = 0;
  }
});
function videoInit(){
  let vObj = document.querySelector('#video');
  vObj.play();
} */
 
</script>
</body>
</html>
